package lab02.text26;

/**
 * Created by HASEE on 2017/11/2.
 */
public class ExceptionText {
    public static void main(String[] args) {
        try {
           //可能出错的一些代码
            int a=10/0;

        }
        catch (ArithmeticException e){
            System.out.println("除数为0！");
        }
        finally {
            System.out.println("这是最终执行的代码");
        }
    }
}
